[Top] [Prev] [Next] [Bottom] [Contents]

Error Handling

The default error handling for a Sapphire/Web-generated CGI is to print the errors at the top of the returned HTML file. You can change this default behavior by making a call to the function, SaRegStdErrSite. This function will send all errors to a Data Site in your HTML template with the name, ##Sa_ErrorSite##. If you want a different name for your standard error site, use the function, SaRegErrSite. This uses the SaRegErrSite function internally. You can look at the code for these functions in the file, SaHtmlC.c, in the directory, client/src, in the Sapphire/Web distribution.



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.